<template>
  <svg
    class="yindu-icon"
    width="24px"
    height="24px"
    viewBox="0 0 24 24"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <defs>
      <polygon id="circleCheck-path-1" points="0 0 23.9996 0 23.9996 24 0 24"></polygon>
    </defs>
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g id="切图" transform="translate(-1193.000000, -107.000000)">
        <g id="编组" transform="translate(1193.000000, 107.000000)">
          <mask id="circleCheck-mask-2" fill="white">
            <use xlink:href="#circleCheck-path-1"></use>
          </mask>
          <g id="Clip-2"></g>
          <path
            d="M10.951,17.209 L4.844,11.103 L7.057,8.889 L10.951,12.782 L16.942,6.791 L19.155,9.004 L10.951,17.209 Z M12,0 C5.383,0 0,5.383 0,12 C0,18.617 5.383,24 12,24 C18.617,24 24,18.617 24,12 C24,5.383 18.617,0 12,0 L12,0 Z"
            id="Fill-1"
            fill="#3D88F2"
            mask="url(#circleCheck-mask-2)"
          ></path>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#3D88F2",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path {
    fill: v-bind(fillColor);
  }
}
</style>
